import {createRouter, createWebHashHistory} from "vue-router";
import Login from "@/views/login/index.vue";

const routes = [
  {
    path: "/",
    name: "login",
    component: Login,
  },
  {
    path: '/home',
    name: 'Home',
    component: () => import(/* webpackChunkName: "about" */ '../views/home/index.vue')
  },
  {
    path: '/error',
    name: 'Error',
    component: () => import(/* webpackChunkName: "about" */ '../views/home/error.vue')
  },
  {
    path: '/newEcoIndicators',
    name: 'NewEcoIndicators',
    component: () => import(/* webpackChunkName: "about" */ '../views/newEcoIndicators/index.vue')
  },
  {
    path: '/newEcoIndicators/manage',
    name: 'NewEcoIndicatorsManage',
    component: () => import(/* webpackChunkName: "about" */ '../views/newEcoIndicators/manage.vue')
  },
  {
    path: '/digitalEconomy',
    name: 'DigitalEconomy',
    component: () => import(/* webpackChunkName: "about" */ '../views/digitalEconomy/index.vue')
  },
  {
    path: '/industryAnalysis',
    name: 'IndustryAnalysis',
    component: () => import(/* webpackChunkName: "about" */ '../views/industryAnalysis/index.vue')
  },
  {
    path: '/industryAnalysis/manage',
    name: 'IndustryAnalysisManage',
    component: () => import(/* webpackChunkName: "about" */ '../views/industryAnalysis/manage.vue')
  },
  {
    path: '/findChain',
    name: 'FindChain',
    component: () => import(/* webpackChunkName: "about" */ '../views/FindChain/index.vue')
  },
  {
    path: '/situationalAwareness',
    name: 'SituationalAwareness',
    component: () => import(/* webpackChunkName: "about" */ '../views/situationalAwareness/index.vue')
  },
  {
    path: '/situationalAwareness/manage',
    name: 'SituationalAwarenessManage',
    component: () => import(/* webpackChunkName: "about" */ '../views/situationalAwareness/manage.vue')
  },
  {
    path: '/enterpriseCultivation',
    name: 'EnterpriseCultivation',
    component: () => import(/* webpackChunkName: "about" */ '../views/enterpriseCultivation/index.vue')
  },
  {
    path: '/corporateProfile',
    name: 'CorporateProfile',
    component: () => import(/* webpackChunkName: "about" */ '../views/corporateProfile/index.vue')
  },
  {
    path: '/policySupermarket',
    name: 'PolicySupermarket',
    component: () => import(/* webpackChunkName: "about" */ '../views/policySupermarket/index.vue')
  },
  {
    path: '/policySupermarket/manage',
    name: 'PolicySupermarketManage',
    component: () => import(/* webpackChunkName: "about" */ '../views/policySupermarket/manage.vue')
  },
  {
    path: '/policyIntelligenceMatching',
    name: 'PolicyIntelligenceMatching',
    component: () => import(/* webpackChunkName: "about" */ '../views/policyIntelligenceMatching/index.vue')
  },
  {
    path: '/dataResourceCatalog',
    name: 'DataResourceCatalog',
    component: () => import(/* webpackChunkName: "about" */ '../views/dataResourceCatalog/index.vue')
  },
  {
    path: '/landElements',
    name: 'LandElements',
    component: () => import(/* webpackChunkName: "about" */ '../views/landElements/index.vue')
  },
  {
    path: '/resourceElements',
    name: 'ResourceElements',
    component: () => import(/* webpackChunkName: "about" */ '../views/resourceElements/index.vue')
  }
];
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});


export default router;
